package com.markedquilt.comment.service;

import com.markedquilt.comment.coomon.BussinessException;
import com.markedquilt.comment.model.CategoryModel;

import java.util.List;

/**
 * @author ZhangKe
 * @Description
 * @date 2020/4/20 23:35.
 */
public interface CategoryService {
    CategoryModel create(CategoryModel categoryModel) throws BussinessException;

    CategoryModel get(Integer id);

    List<CategoryModel> selectAll();

    Integer CountAllCategory();
}
